package com.spic.business.ioc.domain;

import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 达标情况 IOC对象 ioc_compliance
 *
 * @author spic
 * @date 2022-04-14
 */
public class IocCompliance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private String id;

    /** 年份 */
    @Excel(name = "年份")
    private Integer year;

    /** 实测平均值 */
    @Excel(name = "实测平均值")
    private Double measuredAverage;

    /** 二级标准 */
    @Excel(name = "二级标准")
    private Integer secondaryStandard;

    /** 一级标准 */
    @Excel(name = "一级标准")
    private Integer primaryStandard;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setYear(Integer year)
    {
        this.year = year;
    }

    public Integer getYear()
    {
        return year;
    }
    public void setMeasuredAverage(Double measuredAverage)
    {
        this.measuredAverage = measuredAverage;
    }

    public Double getMeasuredAverage()
    {
        return measuredAverage;
    }
    public void setSecondaryStandard(Integer secondaryStandard)
    {
        this.secondaryStandard = secondaryStandard;
    }

    public Integer getSecondaryStandard()
    {
        return secondaryStandard;
    }
    public void setPrimaryStandard(Integer primaryStandard)
    {
        this.primaryStandard = primaryStandard;
    }

    public Integer getPrimaryStandard()
    {
        return primaryStandard;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("measuredAverage", getMeasuredAverage())
            .append("secondaryStandard", getSecondaryStandard())
            .append("primaryStandard", getPrimaryStandard())
            .toString();
    }
}
